global captioncast, moviebtncast, moviecast, photocast
if rollOver(7) or rollOver(8) or rollOver(9) or rollOver(10) then
set tempmembernum to the memberNum of sprite rollOver()
set tempmembername to the name of member tempmembernum
set targetname to tempmembername & "_cast"
set the castNum of sprite captioncast to member targetname
set the visible of sprite captioncast to 1
cursor([6, 7])
else
if rollOver(14) or rollOver(15) or rollOver(16) or rollOver(31) or rollOver(32) or rollOver(33) or rollOver(35) or rollOver(36) or rollOver(44) or rollOver(45) or rollOver(42) or rollOver(43) then
if rollOver(42) or rollOver(43) then
if the visible of sprite moviebtncast = 0 then
cursor(-1)
else
cursor([4, 5])
end if
else
cursor([4, 5])
end if
set the visible of sprite captioncast to 0
else
cursor(-1)
set the visible of sprite captioncast to 0
end if
end if
if (the visible of sprite moviecast = 1) and not soundBusy(2) then
if the movieRate of sprite moviecast = 0 then
puppetSound(2, "report.aif")
end if
end if
if (the visible of sprite photocast = 1) and not soundBusy(2) then